<template>
  <g-loading type="square" :spinning="loading">
    <div class="create-screen">
      <div class="top-bar">
        <div class="right-bar"></div>
        <div class="left-bar"></div>
          <router-link to="/case" class="return-btn"> 
          <span class="return-text">
            <n-icon class="return-icon">
              <IconBack />
            </n-icon>
            返回
          </span>
        </router-link>
      </div>
      <particles></particles>
      <div class="background-detail">
        <el-row>
          <el-col :span="11" ></el-col>
          <el-col :span="13" ><span class="zbk">【苍蓝数据地图】</span></el-col> 
        </el-row>
        <el-row style="margin-top: 10px;">
          <!-- <el-col :span="6" ></el-col> -->
          <el-col :span="24" > 
            <div ref="chinaMap" class="map-zw">地图</div>
          </el-col>
          <!-- <el-col :span="6" ></el-col> -->
        </el-row>
        <el-row>
          <el-col :span="20" > 
          </el-col>
          <el-col :span="4" style="color: blue;margin-top: 4px;"> 注：该苍蓝数据地图仅为wiki访问人次以top9为统计，以供wiki首席策划决策</el-col>
        </el-row>
      </div>  
    </div>
  </g-loading>

</template>

<script lang='ts'>
import { defineComponent, ref, onMounted, nextTick, computed,reactive,toRefs  } from 'vue'
import { useRouter,useRoute } from 'vue-router'
import { useMessage } from 'naive-ui'
import { ProjectGroup, ProjectTemplate } from '@/domains/project'
import { getProjects, createProject } from '@/api/project'
import { getSysTemplates } from '@/api/templates'
import { scrollToLeft } from '@/utils/animation'
import { IconArrowLeft, IconArrowRight, IconBack, IconPlus } from '@/icons'
import { playerDistributionList,saveClPvUv } from '@/api/user'
import { da, el } from 'date-fns/locale'
import Particles from '@/components/particles/index.vue'
import * as echarts from 'echarts'
import chinaJSON from '@/assets/json/china.json'

export default defineComponent({
  name: 'DataMapScreen',
  components: {
    IconArrowLeft,
    IconArrowRight,
    IconBack,
    IconPlus,
    "particles":Particles
  },
  setup() {
    const nMessage = useMessage()
    const loading = ref(true)
    const templates = ref<ProjectTemplate[]>([])
    const equipArr = ref([])
    const equipEntryArr = ref([])
    const visibleCreateDialog = ref(false)
    const equipCreateDialog = ref(false)
    const visiblePreviewDialog = ref(true)
    const projectName = ref('')
    const bigUrlImg = ref('')
    const currentPage = ref(0)
    const name = ref('')
    const stAttribute = ref('')
    const attribute = ref('')
    const template = ref<Partial<ProjectTemplate> | null>({})
    const groupId = ref(0)
    const groups = ref([new ProjectGroup(0, '未分组')])
    const saveLoading = ref(false)
    const router = useRouter()
    const routes = useRoute()

    const scrollRef = ref<any>(null)
    const groupOpts = computed(() => {
      return groups.value.map(m => ({ value: m.id, label: m.name }))
    })
    const chinaMap = ref()


   const state = reactive({
      loadingSt: false,
      tableHeight:700,
      tableRef:null,
      tableData: [],
      falg:false
    })

    onMounted(async () => {
      let flag = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)
       // 移动端处理
       if(flag != null ){
          router.push({
            name: 'MyError'
          })
       }

      const res = await getSysTemplates()
      loading.value = false
      templates.value = res.data
      const strategyId = parseInt(routes.query.strategyId as string)

      // savePvUv(tplId);
      getMap(strategyId);
    })

    // 记录pvuv
    const savePvUv = (tplId) => {
        const url = "https://www.cljj.wiki/#/team-screen?id="+tplId;
        saveClPvUv(url).then();
    }



     // 获取地图信息
     const getMap = (strategyId) => {
      playerDistributionList(strategyId).then(res=>{ 
           const data = res.data.data;  
          //  data.push( { name: 'wiki首席架构师', value: [116.405285,39.904989, 0 , 0] })
           state.tableData = data;
           drawChina()

      })
    }


    let regions = [
      {
        name: '新疆维吾尔自治区',
        itemStyle: {
        areaColor: '#374ba4',
        opacity: 1,
        },
      },
      {
        name: '四川省',
        itemStyle: {
        areaColor: '#e90c52',
        opacity: 1,
        },
      },
      // {
      //   name: '陕西省',
      //   itemStyle: {
      //   areaColor: '#fd691b',
      //   opacity: 1,
      //   },
      // },
      {
        name: '黑龙江省',
        itemStyle: {
        areaColor: '#ffc556',
        opacity: 1,
        },
      },
      {
        name: '甘肃省',
        itemStyle: {
        areaColor: '#fe9b45',
        opacity: 1,
        },
      },
      {
        name: '上海市',
        itemStyle: {
        areaColor: '#E560F2',
        opacity: 1,
        },
      },
      {
        name: '浙江省',
        itemStyle: {
        areaColor: '#25368b',
        opacity: 1,
        },
      },
      {
        name: '福建省',
        itemStyle: {
        areaColor: '#92E532',
        // areaColor: '#e90c52',
        opacity: 1,
        },
      },
      {
        name: '广东省',
        itemStyle: {
        areaColor: '#0d7bb6',
        opacity: 1,
        },
      },
      {
        name: '北京市',
        itemStyle: {
        areaColor: '#fd691b',
        opacity: 1,
        },
      },
      {
        name: '辽宁省',
        itemStyle: {
        areaColor: '#e9e90c',
        opacity: 1,
        },
      },
      {
        name: '江苏省',
        itemStyle: {
        areaColor: '#0ecc0e',
        opacity: 1,
        },
      },
      ]
    let scatter = [
      { name: '成都', value: [87.617733,43.7928189, '17.72%' , 999] },
      { name: 'wiki首席策划居住地', value: [119.306239,26.075302, 0 , 0] },
      { name: '苍蓝境界研发地', value: ["119.767413","34.041544", "0","0"] },
      { name: '重庆', value: [112.767413,32.041544, '1.73%',9] } ,
      { name: '福建省', value: ['117.7978134', '25.0785904', '5.7%', '1154'] } 
    ]

        // 获取地图信息
    const drawChina = () => {
      var myChart = echarts.init(chinaMap.value)
      echarts.registerMap('china', chinaJSON) //注册可用的地图
      var option = {
        geo: {
        map: 'china',
        roam: true, //是否允许缩放，拖拽
        zoom: 1, //初始化大小
        //缩放大小限制
        scaleLimit: {
          min: 1, //最小
          max: 2, //最大
          },
          //设置中心点
          center: [115.97, 29.71],
          //省份地图添加背景
          regions: regions,
          itemStyle: {
          areaColor: '#0b122e',
          color: 'red',
          borderColor: '#232652',
          borderWidth: 2,
        },
        //高亮状态
        emphasis: {
          itemStyle: {
          areaColor: '#1af9e5',
            color: '#fff',
          },
          },
        },
        tooltip: {
          // backgroundColor: 'rgba(50,50,50,0.7)',    // 提示框浮层的背景颜色
          formatter: (params) => {
            // console.log(params)
            let dataShow = "";
            if(params.name == ""){
              dataShow = "总玩家占比：" + params.data.value[2] + "<br/>玩家遍布人数：" + params.data.value[3];
            }else{
              if(params.data.value[3] > 0){
                dataShow = params.name + "<br/>总玩家占比：" + params.data.value[2] + "<br/>玩家遍布访问人次：" + params.data.value[3];
              }else{
                dataShow = params.name;
              }
            }
            return dataShow;
          }
        },
        //配置属性
        series: {
          type: 'effectScatter',
          coordinateSystem: 'geo',
          data: state.tableData, 
          // data: scatter, 
          showEffectOn: 'render',
          rippleEffect: {
          //涟漪特效相关配置
          brushType: 'stroke', //波纹的绘制方式，可选 'stroke' 和 'fill'
          },
          hoverAnimation: true, //是否开启鼠标 hover 的提示动画效果
          label: {
            //图形上的文本标签，可用于说明图形的一些数据信息，比如值，名称等，
            normal: {
              formatter: '{b}',
              position: 'right',
              show: true,
            },
          },
          itemStyle: {
          //图形样式，normal 是图形在默认状态下的样式；emphasis 是图形在高亮状态下的样式，比如在鼠标悬浮或者图例联动高亮时
            normal: {
              shadowBlur: 10,
              shadowColor: 20,
              fontSize: '12px',
              // color: '#ffffff', //散点的颜色
              color: function(e){
              // console.log(e)
              if(e.name == "wiki首席策划居住地" || e.name == "wiki首席架构师" ){
                return '#00FFFF'
              }else if(e.name == "苍蓝境界研发地"){
                return 'yellow'
              }else{
                return '#ffffff'
              }
            }
            },
           
          },
          zlevel: 1,
        }
      
      }
      myChart.setOption(option)
    }
 
    return {
      templates,
      visibleCreateDialog,
      equipCreateDialog,
      visiblePreviewDialog,
      projectName,
      template,
      groupId,
      groups,
      groupOpts,
      saveLoading,
      loading,
      scrollRef,
      equipArr,
      bigUrlImg,
      equipEntryArr,
      stAttribute,
      chinaMap,
      ...toRefs(state)

    }
  },
})
</script>

<style lang="scss" scoped>
@import "@/styles/mixins/function.scss";

@font-face {
  font-family: Orbitron-Bold;
  src: url('@/styles/fonts/orbitron-bold.ttf') format('truetype');
}

@mixin cover-img {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #131e2d;
  background-image: url(com-cdn('datav/datav-vue-logo.png'));
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50%;
  filter: grayscale(1);
  opacity: 0.36;
}

.create-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  // background: rgb(0 51 125 / 7%);
  background: #101129;

  margin: 0;
  padding: 0;
   user-select: none;

  .top-bar {
    height: 50px;
    width: 100%;
    position: relative;
    z-index: 2;

    &::before {
      content: ' ';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 20px;
      width: 100%;
      background: #151b22;
    }

    .right-bar {
      position: absolute;
      left: 150px;
      top: 20px;
      height: 5px;
      width: 100%;
      border-top: var(--datav-border-primary);
      border-left: 2px solid var(--datav-main-color);
      background: rgb(55 126 255 / 4%);
      border-top-left-radius: 5px;
      transform: skewX(-45deg);
      box-shadow: 0 5px 28px 0 rgb(55 126 255 / 28%);
    }

    .left-bar {
      position: absolute;
      left: 0;
      top: 24px;
      height: 25px;
      width: 138px;
      border-right: 2px solid var(--datav-main-color);
      border-bottom: var(--datav-border-primary);
      transform: skewX(-45deg);
      border-bottom-right-radius: 5px;
      box-shadow: 0 5px 28px 0 rgb(55 126 255 / 28%);
    }

    .return-btn {
      position: absolute;
      left: -31px;
      top: 0;
      width: 180px;
      height: 48px;
      line-height: 48px;
      text-align: center;
      background: #151b22;
      cursor: pointer;
      transform: skewX(-45deg);
      border-bottom-right-radius: 5px;
      

      .return-text {
        display: inline-block;
        color: #fff;
        font-size: 14px;
        margin-left: 10px;
        transform: skewX(45deg);
        transition: 0.2s;

        &:hover {
          color: var(--datav-main-color);
        }
      }

      .return-icon {
        margin-right: 5px;
      }
    }
  }

  .creator-wp {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 30px;

    .template-list {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      overflow-x: hidden;
      overflow-y: scroll;
      color: #fff;
      font-size: 12px;
      margin: 0 -16px;
      padding-bottom: 100px;
      padding-top: 60px;

      .template-item {
        width: 258px;
        height: 184px;
        box-shadow: var(--datav-shadow);
        border: var(--datav-border);
        margin: 16px;
        transition: 0.2s;
        outline: 1px solid transparent;
        cursor: default;

        .template-image {
          width: 100%;
          height: 146px;
          display: flex;
          align-items: center;
          justify-content: center;
          transition: 0.2s;
          position: relative;
        }

        .template-info {
          display: flex;
          align-items: center;
          justify-content: space-between;
          padding: 10px;
          height: 36px;
          background: var(--datav-bgcolor-2);
          transition: 0.2s;
        }

        &.--blank {
          position: relative;
          outline: var(--datav-border-primary);

          .template-image {
            box-shadow: inset 0 0 46px 0 rgb(136 215 255 / 29%);
          }

          .template-info {
            border-top: var(--datav-border-primary);
            justify-content: center;
            font-size: 14px;
          }
        }
      }

      .preview-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: relative;

        &::after {
          @include cover-img;
        }
      }

      .template-mask {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background: rgb(0 0 0 / 50%);
        transition: 0.2s;
        pointer-events: none;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        opacity: 0;
        font-weight: 400;

        .create-btn {
          width: 112px;
          padding: 0 5px;
        }

        .preview-btn {
          margin-top: 10px;
          width: 112px;
          padding: 0 5px;
          margin-left: 0;
        }
      }

      .template-item:hover {
        outline: var(--datav-border-primary);

        .template-mask {
          pointer-events: all;
          opacity: 1;
        }
      }

      .template-name {
        font-size: 12px;
      }

      .template-size {
        color: #999;
        text-align: right;
        font-family: Orbitron-Bold, PingFangSC-Medium, "PingFang SC", "Microsoft YaHei", Arial, Helvetica, sans-serif;
      }

      .template-item-placehoder {
        width: 258px;
        margin: 16px;
      }
    }
  }
}

.create-dialog {
  .required {
    display: inline-block;
    margin-right: 6px;
    color: var(--datav-red-color);
  }

  .template-desc {
    margin-bottom: 20px;
    opacity: 0.8;
    overflow: hidden;
    -webkit-line-clamp: 3;
    display: box;
    -webkit-box-orient: vertical;
  }

  .name-title {
    margin-bottom: 10px;
    line-height: 20px;
    font-style: italic;
  }

  .name-input {
    margin-bottom: 15px;
    height: 28px;
    line-height: 26px;
    flex-wrap: wrap
  }
}

@mixin slider-blur($placement: left, $angle: -90deg) {
  content: ' ';
  position: absolute;
  top: 0;
  #{$placement}: 0;
  background-image:
    linear-gradient(
      #{$angle},
      rgb(0 0 0 / 0%) 64%,
      #303640 100%
    );
  width: 82px;
  height: 96px;
  pointer-events: none;
  z-index: 1;
}

.preview-dialog {
  margin-top: -10px;
  margin-bottom: -40px;

  .preview-list {
    width: 895px;
    height: 150px;
    margin-left: -20px;
    background: #303640;
    display: flex;
    flex-direction: column;
    justify-content: center;

    .template-list-title {
      font-size: 12px;
      margin: 0 0 15px 30px;
    }
  }

  .blur-wp {
    position: relative;
    margin: 0 24px;

    &::before {
      @include slider-blur();
    }

    &::after {
      @include slider-blur(right, 90deg);
    }
  }

  .scroll-wp {
    white-space: nowrap;
    overflow-x: scroll;
    padding-bottom: 8px;

    &::-webkit-scrollbar-thumb {
      background: var(--datav-main-color);
      border-radius: 5px;
      border: none;
    }
  }

  .preview-wp {
    position: relative;
    font-size: 0;
    width: 137px;
    height: 97px;
    overflow: hidden;
    display: inline-block;
    margin: 0 6px;
    cursor: pointer;
    border: 1px solid rgb(123 123 123 / 25%);
    transition: 0.2s;

    .preview-small-img {
      display: block;
      width: 100%;
      height: 76px;
      object-fit: cover;
      position: relative;

      &::after {
        @include cover-img;
      }
    }

    .preview-screen-name {
      font-size: 12px;
      line-height: 19px;
      background: var(--datav-bgcolor-2);
      padding: 0 5px;
      font-weight: 300;
    }

    &:hover,
    &.selected {
      border-color: var(--datav-main-color);
    }
  }

  .preview-gif {
    height: 420px;
    display: flex;
    padding: 20px 10px 50px;

    .gif-wp {
      width: 610px;
      position: relative;

      .snapshot-gif {
        width: 100%;
        height: 100%;
        display: block;
        position: relative;
        border: var(--datav-border);
        box-shadow: var(--datav-shadow);

        &::after {
          @include cover-img();
        }
      }

      .next-icon,
      .prev-icon {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        padding: 5px;
        border-radius: 50%;
        height: 26px;
        width: 26px;
        margin: 10px;
        font-weight: 600;
        background: rgb(255 255 255 / 20%);
        color: rgb(255 255 255 / 80%);
        cursor: pointer;
        transition: 0.2s;

        &:hover {
          color: #fff;
          background: rgb(255 255 255 / 30%);
        }
      }

      .next-icon {
        right: 0;
      }
    }

    .preview-create {
      flex: 1;
      overflow: hidden;
      padding-left: 20px;
    }
  }
}

.preview-create-btn {
  margin-top: 30px;

  .next-icon {
    font-size: 12px;
  }
}
 .data {
    display: flex;
    margin-bottom: 50px;
  }
  .data .data-item {
    flex: 1;
    margin: 0 10px;
  }
  .el-table {
    border: 1px solid #EBEEF5;
    border-bottom: none;
  }
  .has-gutter th {
    border-right: 1px solid #EBEEF5;
  }

  .has-gutter th:last-child {
    border-right: none;
  }
 .data {
    display: flex;
    margin-bottom: 50px;
  }
  .data .data-item {
    flex: 1;
    margin: 0 10px;
  }
  .el-table {
    border: 1px solid #EBEEF5;
    border-bottom: none;
  }
  .has-gutter th {
    border-right: 1px solid #EBEEF5;
  }

  .has-gutter th:last-child {
    border-right: none;
  }
  .el-table__row td {
    border-right: 1px solid #EBEEF5;
  }
  .el-table__row td:last-child {
    border-right: none;
  }

  .img-wrap {
      height: 20vw;
      margin-left: 4vw;
      margin-top: 2vw;
      // outline: 1px solid #66f;
  //  box-shadow: 0px 0px 10px #ee0a24 inset, 0px 0px 0px 15px #fff inset, 0px 0px 10px 15px #07c160 inset;
    }
    .img-wrap img {
      height: 100%;
      //蓝色背景效果
      box-shadow: 0px 0px 10px #FFD700;
      background: linear-gradient(#FFD700,#FFD700) left top,
      linear-gradient(hsl(131, 49%, 53%),#FFD700) left bottom,
      linear-gradient(#FFD700,#FFD700) right top,
      linear-gradient(#FFD700,#FFD700) right bottom;
      background-size: 4px 4px;
      background-repeat: no-repeat;

      // 浅土色粗边框
      // border-radius:10px;
      // background: tan;
      // outline:10px solid #655;
      // box-shadow:0 0 0 5px #655;

    }
    .grid-styel{
      height: 20vw;
      color: white
     
    }

    .grid-styels{
      height: 20vw;
      color: 		#D00000
    }    
   .skill-card-title {
      height: 4vw;
      // width: 45vw;
      // outline: 1px solid rgb(0, 0, 2);
      // margin-left: 4vw;
      margin-top: 2vw;
       display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      // background-color: #101129;
      // color: rgb(238, 11, 11);

    }

    .title-child{
     font-weight:bold;
     font-size:1vw
    }
    
    .skill-card-detail {
      height: 16vw;
      // width: 45vw;
      // outline: 1px solid rgb(0, 0, 2);
      // margin-left: 4vw;
      font-size:1vw;
      // padding: 2vw;
      // background-color: tan;
      // background-image: url('http://124.221.197.189:8088/DSJ.png');
      // background-image: url('https://www.cljj.wiki/DSJ.png');
      // background-size: 100% 100%;           
			// background-repeat: no-repeat;
    }

    .skill-card-detail  img {
      height: 100%;
      //蓝色背景效果
      box-shadow: 0px 0px 10px #FFD700;
      background: linear-gradient(#FFD700,#FFD700) left top,
      linear-gradient(#FFD700,#FFD700) left bottom,
      linear-gradient(#FFD700,#FFD700) right top,
      linear-gradient(#FFD700,#FFD700) right bottom;
      background-size: 4px 4px;
      background-repeat: no-repeat;
    }

    .equip-1 img {
      // height: 100%;
      margin-top: 1vw;
      position: absolute;
      //蓝色背景效果
      box-shadow: 0px 0px 10px #FFD700;
      background: linear-gradient(#FFD700,#FFD700) left top,
      linear-gradient(#FFD700,#FFD700) left bottom,
      linear-gradient(#FFD700,#FFD700) right top,
      linear-gradient(#FFD700,#FFD700) right bottom;
      background-size: 4px 4px;
      background-repeat: no-repeat;
    }

    p{ line-height:20px} 

    .skill-card-detail p{ 
      margin:1vw auto;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      line-height: 1.2vw;
      } 

    .skill-card-detail p:hover {
      overflow: visible;
      white-space: normal;
    }

// 星盘
   .start-card-title {
      height: 4vw;
      width: 18vw;
      // outline: 1px solid rgb(0, 0, 2);
      margin-left: 2vw;
      margin-top: 2vw;
       display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
    }
    .start-child{
     font-weight:bold;
     font-size:1vw
    }
    
    .start-card-detail {
      height: 16vw;
     width: 18vw;
      // outline: 1px solid rgb(0, 0, 2);
      margin-left: 2vw;
      font-size:0.9vw;
      padding: 1vw;
      //  background-image: url('http://124.221.197.189:8088/DSJ.png');
       background-image: url('https://www.cljj.wiki/DSJ.png');
      background-size: 100% 100%;           
			background-repeat: no-repeat;
    }
    

    .start-card-detail p{ margin:1vw auto} 

    .start-card-detail p{ 
      // overflow: hidden;
      // white-space: nowrap;
      // text-overflow: ellipsis;
      line-height: 1.2vw;
    } 
    .start-card-detail p:hover {
      // overflow: visible;
      // white-space: normal;
    }

    // 魂装
   .soul-card-title {
      height: 4vw;
      width: 61.5vw;
      // outline: 1px solid rgb(0, 0, 2);
      margin-left: 4vw;
      margin-top: 2vw;
       display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
    }
    .soul-child{
     font-weight:bold;
     font-size:1vw
    }
    
    .soul-card-detail {
      height: 16vw;
      width: 61.5vw;
      // outline: 1px solid rgb(0, 0, 2);
      margin-left: 4vw;
      font-size:1vw;
      padding: 2vw;
      line-height: 0vw;
      //  background-image: url('http://124.221.197.189:8088/DSJ.png');
       background-image: url('https://www.cljj.wiki/DSJ.png');
      background-size: 100% 100%;           
			background-repeat: no-repeat;
    }

    .soul-card-detail p{ margin:1vw auto} 

    .soul-card-detail p{ 
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      line-height: 1.1vw;
    } 
    .soul-card-detail p:hover {
      overflow: visible;
      white-space: normal;
    }

    .soul-attack{ 
      display:inline;
      margin-left: 10vw;
      } 
    .soul-blood{ 
      display:inline;
      margin-left: 10vw;
    } 
     .hz-cl{ 
      // display:inline;
      // margin-left: 15vw;
      // position: relative;
      // left: 15vw;
      position: relative;
      left: 47vw;
    } 

    // 点评
    .appraise-card-title {
      height: 4vw;
      width: 27vw;
      // outline: 1px solid rgb(0, 0, 2);
      margin-left: 2vw;
      margin-top: 2vw;
       display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
    }
    .appraise-child{
     font-weight:bold;
     font-size:1vw
    }
    
    .appraise-card-detail {
      height: 16vw;
      width: 27vw;
      // outline: 1px solid rgb(0, 0, 2);
      margin-left: 2vw;
      font-size:0.9vw;
      line-height: 1.1vw;
      padding: 2vw;
      // background-image: url('http://124.221.197.189:8088/DSJ.png');
       background-image: url('https://www.cljj.wiki/DSJ.png');
      background-size: 100% 100%;           
			background-repeat: no-repeat;
    }
   .appraise-card-detail p{ margin:1vw auto} 


    .background-detail{
      z-index: 1;
      // // position: absolute;
      // width: 100%;
      // height: 100%;
      // background-size: cover;
      // background-position: center;
    //  opacity: 0.9;
    }
    .text-hh{
      white-space: pre-wrap;
      word-break: break-all;
      word-wrap: break-word;
    }

    .bm-text{
      // color: #095fdf ;
      // background: var(--datav-gui-component-bgcolor);
      line-height: 20px;
      padding: 2px 4px;
      font-size: 13px;
      margin-bottom: 1vw
    }

    .line-h{
      line-height: 1.1vw;
    }

    .soul-as-top{
      position: absolute;
      width: 100%;
      height: 1vw;
    }


// ----

   .team-card-title {
      height: 4vw;
      width: 45vw;
      margin-left: 4vw;
      margin-top: 2vw;
       display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
    }

    .team-card-detail {
      height: 16vw;
      width: 45vw;
      margin-left: 4vw;
      font-size:1vw;
      padding: 2vw;
    }

    .st-title{
      font-weight: bold;
      font-size: 1.5vw;
      color: red;
      // margin-top: 2vw
    }

    .data-resoure{
      color: yellow;
      margin-left:1.5vw
    }

    .entrySt{
      height: 10vw;
    }

    .entryEl{
      padding: 3px;
    }

    .tx-cl {
      height: 100%;
      // 蓝色背景效果
      // box-shadow: 0px 0px 10px #0084ff;
      // background: linear-gradient(#0084ff,#0084ff) left top,
      // linear-gradient(#0084ff,#0084ff) left bottom,
      // linear-gradient(#0084ff,#0084ff) right top,
      // linear-gradient(#0084ff,#0084ff) right bottom;
      background-size: 4px 4px;
      background-repeat: no-repeat;
      border-radius: 50%;
    }

    .xf-change{
      cursor: pointer;     
    }
    
    .xf-change:hover{
      background: rgb(184, 224, 250);
      border: 1px solid #0084ff;
    }

    .entrySt{
      cursor: pointer;     
    }
    
    .entrySt:hover{
      background: rgb(184, 224, 250);
      border: 1px solid #0ee06c;
    }

    .-container {
      min-height: 100%;
    }

    
  .tx-cl:hover {
    background: #ffffff;
    border: 1px solid white;
  }

  .order-container {
    min-height: 100%;
    margin-top:1vw;
  }

  .zbk {
    font-size: 30px;
    line-height: 50px;
    background-image: -webkit-linear-gradient(left, #f08080, #E6D205 25%, #f08080 50%, #E6D205 75%, #f08080);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-background-size: 200% 100%;
    -webkit-animation: masked-animation 4s infinite linear;
    font-family:楷体;
    font-weight: 700
}
@-webkit-keyframes masked-animation {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -100% 0;
    }
}

.el-carousel__item h3 {
    color: #475669;
    font-size: 18px;
    opacity: 0.75;
    // line-height: 300px;
    text-align: center;
    margin: 0;
  }
  
  .el-carousel__item:nth-child(2n) {
    background-color: #99a9bf;
    
  }
  
  .el-carousel__item:nth-child(2n+1) {
    background-color: #d3dce6;
  }
  .elcar{
    margin-top: 10px;
  }
  .team_img{
    height: 150px;
  }

  .gl-content{
    padding: 10px;
  }

  .map-zw{
    height: calc(100vh - 165px);
    border: solid 1px var(--datav-main-color);
    width: 100%;
    background: #010111;
  }
</style>
